<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!--action表示提交到哪个地址
        method post是传送数据
               get是获取数据
               默认是get
    -->
    <form action="" method="post">
       用户信息:<input type="text" placeholder="提示信息" name="username">
       <br>
       用户信息:<input type="password" placeholder="提示信息" name="password">
       <br>
       <input type="submit" value="登录">
       <!--等价-->
       <button type="submit">登录</button>
       <br>
       <input type="reset" value="清除">
       <!--普通按钮-->
       <input type="button" value="按钮">
    </form>
</body>
</html>